package org.example.javadt.entity;

import java.util.Date;

public class wusers {
    private String user_id;
    private String username;
    private String platform;
    private Date created_at;
    private posts posts;
    private likes likes;
    private comments comments;
    private tags tags;
//    存储数据：
//
//    user_id：用户唯一标识
//    username：用户名
//    platform：用户所属平台（微博、朋友圈、抖音）
//    created_at：用户创建时间
//
//    用途：
//    存储系统中的所有用户信息，作为其他表的关联基础。


    public org.example.javadt.entity.tags getTags() {
        return tags;
    }

    public void setTags(org.example.javadt.entity.tags tags) {
        this.tags = tags;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public Date getCreated_at() {
        return created_at;
    }

    public void setCreated_at(Date created_at) {
        this.created_at = created_at;
    }

    public org.example.javadt.entity.posts getPosts() {
        return posts;
    }

    public void setPosts(org.example.javadt.entity.posts posts) {
        this.posts = posts;
    }

    public org.example.javadt.entity.likes getLikes() {
        return likes;
    }

    public void setLikes(org.example.javadt.entity.likes likes) {
        this.likes = likes;
    }

    public org.example.javadt.entity.comments getComments() {
        return comments;
    }

    public void setComments(org.example.javadt.entity.comments comments) {
        this.comments = comments;
    }

    public wusers() {
    }

    public wusers(String user_id, String username, String platform, Date created_at, org.example.javadt.entity.posts posts, org.example.javadt.entity.likes likes, org.example.javadt.entity.comments comments, org.example.javadt.entity.tags tags) {
        this.user_id = user_id;
        this.username = username;
        this.platform = platform;
        this.created_at = created_at;
        this.posts = posts;
        this.likes = likes;
        this.comments = comments;
        this.tags = tags;
    }

    @Override
    public String toString() {
        return "wusers{" +
                "user_id='" + user_id + '\'' +
                ", username='" + username + '\'' +
                ", platform='" + platform + '\'' +
                ", created_at=" + created_at +
                ", posts=" + posts +
                ", likes=" + likes +
                ", comments=" + comments +
                ", tags=" + tags +
                '}';
    }
}
